home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
jigsaw
/
openfile.frm
< prev
next >
Wrap
Text File
|
1995-05-08
|
2KB
|
91 lines
VERSION 2.00
Begin Form OpenFile
BorderStyle = 3 'Fixed Double
Caption = "Open File"
ClientHeight = 3540
ClientLeft = 1095
ClientTop = 1485
ClientWidth = 4185
Height = 3945
Icon = 0
Left = 1035
LinkMode = 1 'Source
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3540
ScaleWidth = 4185
Top = 1140
Width = 4305
Begin CommandButton Cmd_OK
Caption = "OK"
Default = -1 'True
Height = 375
Left = 120
TabIndex = 3
Top = 3120
Width = 3975
End
Begin DriveListBox Drive1
Height = 315
Left = 120
TabIndex = 2
Top = 2760
Width = 3975
End
Begin FileListBox File1
Height = 2565
Left = 2160
Pattern = "*.bmp"
TabIndex = 0
Top = 120
Width = 1935
End
Begin DirListBox Dir1
Height = 2535
Left = 120
TabIndex = 1
Top = 120
Width = 1935
End
End
Sub Cmd_OK_Click ()
Hide
End Sub
Sub Dir1_Change ()
ChDir Dir1.Path
File1.Path = Dir1.Path
End Sub
Sub Drive1_Change ()
ChDrive Drive1.Drive
Dir1.Path = CurDir$
End Sub
Sub File1_DblClick ()
Hide
End Sub
Sub Form_Load ()
Remove_Items_From_Sysmenu OpenFile
End Sub
Sub Form_Unload (Cancel As Integer)
Cancel = True
Hide
End Sub